package com.mdh.runerrands.pojo;

public class OrderLine {

    private long id;
    private int number;
    private double price;
    private  int productId;
    private int orderId;

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public int getNumber() {
        return number;
    }

    public void setNumber(int number) {
        this.number = number;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public int getProductId() {
        return productId;
    }

    public void setProductId(int productId) {
        this.productId = productId;
    }

    public int getOrderId() {
        return orderId;
    }

    public void setOrderId(int orderId) {
        this.orderId = orderId;
    }

    @Override
    public String toString() {
        return "OrderLine{" +
                "id=" + id +
                ", number=" + number +
                ", price=" + price +
                ", productId=" + productId +
                ", orderId=" + orderId +
                '}';
    }
}
